home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat2 / grayplot.2 < prev    next >
Text File  |  1999-09-16  |  798b  |  67 lines

  1.  
  2.  
  3.  
  4. GRAYPLOT(2)                    Scilab Function                    GRAYPLOT(2)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   grayplot - 2D plot of a surface using gray levels
  13.  
  14. CALLING SEQUENCE
  15.   grayplot(x,y,z,[strf,rect,nax])
  16.  
  17. PARAMETERS
  18.  
  19.   x,y       : real vectors of size respectively (1,n1) and (1,n2).
  20.  
  21.   z         : real matrix of size (n1,n2) (values of f)
  22.  
  23.   strf,rect,nax
  24.             : optional arguments, ( see plot2d)
  25.  
  26. DESCRIPTION
  27.   The surface is given by values z(i,j)=f(x(i),y(j)) on a grid defined by
  28.   x,y.  Each rectangle on the grid is filled with a gray level depending on
  29.   the average value of f on the corners of the rectangle.
  30.  
  31.   Enter the command grayplot() to see a demo.
  32.  
  33. EXAMPLE
  34.   x=-10:10;y=-10:10;m=rand(21,21);
  35.   grayplot(x,y,m,"111",[-20,-20,20,20]);
  36.  
  37. AUTHOR
  38.   J.Ph.C..
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.